﻿using System;
using System.Threading;
using System.Diagnostics;
using ChatRoom.Web.Server;

namespace ChatRoom.Tests.Server
{
    static class Program
    {
        static void Main(string[] args)
        {
            Trace.Listeners.Add(new ConsoleTraceListener());
            using (ChatServer server = new ChatServer(5, 8192))
            {
                server.Start();
                Console.WriteLine("server is started, ......");
                (new ManualResetEventSlim(false)).Wait();
            }//using
        }
    }
}
